package com.by.bean.resident;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 住户表
 */
@ApiModel("住户信息")
@Data
@TableName("g_resident")
public class Resident {
    @ApiModelProperty("id")
    @TableId
    int id;
    @ApiModelProperty("姓名")
    String name;
    @ApiModelProperty("住户编号")
    String code;
    @ApiModelProperty("性别")
    int sex;
    @ApiModelProperty("证件号码")
    String idNumber;
    @ApiModelProperty("与业主关系")
    int relation;
    @ApiModelProperty("手机号")
    String mobile;
    @ApiModelProperty("身份证正面照")
    String frontImg;
    @ApiModelProperty("身份证背面照")
    String backImg;
    @ApiModelProperty("状态")
    int status;
    @ApiModelProperty("住户来源")
    int origin;
    @ApiModelProperty("标签")
    String tags;
    @ApiModelProperty("备注")
    String note;
    @ApiModelProperty("关联房屋")
    String relateHouse;

}
